package com.unidt.www.module.third.api.workbar.dto;

import lombok.Data;

import java.util.List;

/**
 * @Author sk
 * @Description:
 * @Date 2022/11/29 14:06
 **/
@Data
public class MessageBody {


    String notifyId;
    /**
     * 发送人ID zzId
     */
    String sendId;

    /**
     * 发送人部门
     */
    String sendUnitId;

    /**
     * 发送人角色
     */
    String sendRoleId;

    List<String> receiverIds;

    String title;

    String content;

    String link;

    Boolean processFlag;

    /**
     * msgType 1-文件、2-应用、3-公告公示
     */
    String  msgType;

    public MessageBody() {
        processFlag =false;
    }

    public MessageBody(String title, String content, String msgType) {
        this.title = title;
        this.content = content;
        this.msgType = msgType;
        processFlag =false;

    }

    public MessageBody(List<String> receiverIds, String title, String content, String msgType) {
        this.receiverIds = receiverIds;
        this.title = title;
        this.content = content;
        this.msgType = msgType;
        processFlag =false;

    }
}
